package com.atguigu.lease.mapper;

import com.atguigu.lease.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> selectUserByMyUserName(String name);

    IPage<User> selectUserByMyUserNamePage(IPage<User> Page,@Param("name") String name);
}
